Skip to content

feat(standings): use new table design in swiss standings#7294

Open
ElectricalBoy wants to merge 14 commits intomainfrom
swiss-standings-use-label
Open

feat(standings): use new table design in swiss standings#7294
ElectricalBoy wants to merge 14 commits intomainfrom
swiss-standings-use-label

Conversation

@ElectricalBoy
Copy link
Copy Markdown
Collaborator

@ElectricalBoy ElectricalBoy commented Mar 23, 2026

Summary

Depends on #7256

How did you test this change?

https://liquipedia.net/leagueoflegends/User:ElectricalBoy/Sandbox + browser dev tools

image image

@ElectricalBoy ElectricalBoy requested review from a team as code owners March 23, 2026 11:31
@ElectricalBoy ElectricalBoy added c: standings stylesheets Changes to stylesheets javascript Changes to JavaScript files labels Mar 23, 2026
@ElectricalBoy ElectricalBoy changed the base branch from main to veto-labels March 23, 2026 11:32
Copy link
Copy Markdown
Collaborator

@hjpalpha hjpalpha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't they get an overhaul soon anyways

@ElectricalBoy ElectricalBoy force-pushed the swiss-standings-use-label branch from 0574474 to e85554b Compare March 24, 2026 01:56
Base automatically changed from veto-labels to main March 25, 2026 08:25
@ElectricalBoy ElectricalBoy force-pushed the swiss-standings-use-label branch from e85554b to ca6c46c Compare March 25, 2026 09:28
@ElectricalBoy
Copy link
Copy Markdown
Collaborator Author

don't they get an overhaul soon anyways

this basically is the first baby step of that overhaul

@ElectricalBoy ElectricalBoy requested a review from hjpalpha March 25, 2026 09:39
@ElectricalBoy ElectricalBoy requested a review from Rathoz March 26, 2026 00:23
@ElectricalBoy ElectricalBoy requested a review from Eetwalt March 26, 2026 12:39
@ElectricalBoy ElectricalBoy requested a review from hjpalpha March 27, 2026 05:24
Copy link
Copy Markdown
Collaborator

@hjpalpha hjpalpha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems reasonable

"no-duplicate-selectors": null,
"function-url-no-scheme-relative": null,
"declaration-no-important": null,
"function-disallowed-list": [],
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this needed for?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/wikimedia/stylelint-config-wikimedia/blob/08934531b98deaeae5965ff271174a08f87ad50a/index.js#L93

background-color: rgb( from var( --placement-solid-color ) r g b / 0.08 );

wikimedia config has rgb() in disallowed list, but this PR needs it for relative colors

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elysienna what's your opinion?

Copy link
Copy Markdown
Contributor

@liquidely liquidely Mar 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why wikimedia disallows this. Maybe you can try hsl()? If not then should be fine to change the config

@ElectricalBoy ElectricalBoy requested a review from Rathoz March 30, 2026 08:02
color: var( --placement-text-color );
background-color: var( --placement-solid-color );

--placement-text-color: var( --clr-secondary-100, #ffffff );
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove the second argument, right? Since this variable always exists

--placement-text-color: var( --clr-secondary-100, #ffffff );

.theme--dark & {
--placement-text-color: var( --clr-secondary-9, #181818 );
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: standings javascript Changes to JavaScript files stylesheets Changes to stylesheets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants